<template>
  <router-view />
</template>

<style>
body {
  font-family: Microsoft YaHei, Arial;
}

:root {
  --el-color-primary: #167ce6;
  --color-cheng: var(--el-color-primary);
  --color-d9: #000;
  --color-43: #000;
}

button {
  position: relative;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.cu {
  cursor: pointer;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}
</style>

<style>
/*  */
#app.sassMgmt {
  --sass-color-blue: #4683fa;
  --sass-color-blue2: #146CCB;
  --sass-color-blue3: #69AEF7;

  --background-color: #f0f4fe;

  --color-3ac2a2: #3ac2a2;
  --color-303133: #303133;
}

#app.sassMgmt .login-container .el-form-item__label {
  color: #fff;
}

#app.sassMgmt .login-container .login-btn:hover {
  color: #fff !important;
  border-color: #fff !important;
  background-color: rgba(0, 0, 0, 0) !important;
  outline: 0;
}

#app.sassMgmt .translateX-50 {
  transform: translateX(55%)
}

#app.sassMgmt .cursor-pointer {
  cursor: pointer;
}

#app.sassMgmt .padding0 {
  padding: 0 !important;
}

#app.sassMgmt .padding20 {
  padding: 20px !important;
}

#app.sassMgmt .padding-top0 {
  padding-top: 0px !important;
}


#app.sassMgmt .margin0 {
  margin: 0 !important;
}

#app.sassMgmt .margin20 {
  margin: 20px !important;
}

#app.sassMgmt .margin-top20 {
  margin-top: 20px !important;
}

#app.sassMgmt .margin-right20 {
  margin-right: 20px !important;
}

#app.sassMgmt .margin-left20 {
  margin-left: 20px !important;
}

#app.sassMgmt .margin-bottom0 {
  margin-bottom: 0 !important;
}


#app.sassMgmt .pager {
  float: right;
  margin-top: 5px;

  margin: 12px 0;
  display: flex;
  justify-content: flex-end;
}

#app.sassMgmt .text-primary {
  color: var(--sass-color-blue) !important;
  font-size: 20px;
  margin-right: 4px;
}

/* 带有icon的小标题 */
#app.sassMgmt .icon-text {
  display: inline-flex;
  align-items: center;
}

/* 难度 */
#app.sassMgmt .difficulty-1,
#app.sassMgmt .difficulty-2,
#app.sassMgmt .difficulty-3,
#app.sassMgmt .difficulty-4,
#app.sassMgmt .difficulty-5,
#app.sassMgmt .difficulty-6 {
  box-sizing: border-box;
  width: 78px;
  height: 28px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #ffffff;
  padding: 4px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 4px;
  box-shadow: var(--el-box-shadow-light);
}

#app.sassMgmt .difficulty-1 {
  background-color: rgb(254, 75, 97);
}

#app.sassMgmt .difficulty-2 {
  background-color: rgb(243, 157, 11);
}

#app.sassMgmt .difficulty-3 {
  background-color: rgb(255, 193, 15);
}

#app.sassMgmt .difficulty-4 {
  background-color: rgb(81, 197, 19);
}

#app.sassMgmt .difficulty-5 {
  background-color: rgb(49, 153, 220);
}

#app.sassMgmt .difficulty-6 {
  background-color: #9243C8;
}

#app.sassMgmt .difficulty-7 {
  background-color: rgb(14, 29, 105);
  color: #ffffff;
}

.Accepted {
  color: var(--color-3ac2a2);
}

.bg-MemoryLimitExceeded {
  background-color: var(--color-303133);
}

.bg-Accepted {
  background-color: var(--color-3ac2a2) !important;
  border: none !important;
}

.Accepted .div-1-1 {
  border-top-color: var(--color-3ac2a2);
}

.Unaccepted {
  color: #f5ac50;
}

.bg-Unaccepted {
  background-color: #f5ac50 !important;
  border: none !important;
}

.Unaccepted .div-1-1 {
  border-top-color: #f5ac50;
}

.WrongAnswer {
  color: #f5ac50;
}

.bg-WrongAnswer {
  background-color: #f5ac50;
}

.CompileError {
  color: #ff5249;
}

.bg-CompileError {
  background-color: #ff5249 !important;
}

.CompileError .div-1-1 {
  border-top-color: #ff5249;
}

.RuntimeError {
  color: blueviolet;
}

.bg-RuntimeError {
  background-color: blueviolet !important;
  ;
}

.RuntimeError .div-1-1 {
  border-top-color: blueviolet;
}

#app.sassMgmt .divider {
  border-top-width: 2px;
  margin: -10px 0 10px 0;
}

#app.sassMgmt .flex-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* element */
#app.sassMgmt .el-table .el-loading-parent--relative {
  box-sizing: border-box;
}

#app.sassMgmt .el-table__header .el-table__cell {
  background-color: #f8f8f8 !important;
  color: #333;
  padding: 10px 0;
}

.el-table__cell .cell {
  text-align: center;
}

#app.sassMgmt .el-table__header .cell {
  line-height: normal;
  font-size: 15px;
}

#app.sassMgmt .el-table__empty-block {
  height: auto !important;
}

#app.sassMgmt .el-tabs__header {
  background-color: rgba(244, 248, 255, 1);
  /* border-radius: var(--container-border-radius) var(--container-border-radius) 0 0; */
}

#app.sassMgmt .el-tabs--border-card {
  border: none;
  /* height: 100%; */
  /* border-radius: 0 0 var(--container-border-radius) var(--container-border-radius); */
}

#app.sassMgmt .el-tabs--border-card .el-tabs__item {
  height: 48px;
  /* font-size: 18px; */
}

#app.sassMgmt .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
  color: var(--sass-color-blue);
  border-top: 4px solid var(--sass-color-blue);
  font-weight: bold;
}

#app.sassMgmt .el-tabs--border-card>.el-tabs__content {
  padding-bottom: 0;
}

/* 必填项的小红点 */
#app.sassMgmt #teamCfg .el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,
#app.sassMgmt #teamCfg .el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before {
  content: "";
  color: var(--el-color-danger);
  margin-right: 4px;
}

#app.sassMgmt #teamCfg .el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,
#app.sassMgmt #teamCfg .el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:after {
  content: "*";
  color: var(--el-color-danger);
  margin-left: 4px;
}

/* dialog弹出层 title el-dialog__title 样式统一 */
#app.sassMgmt .el-dialog {
  --el-dialog-l-padding: 24px;
  --el-dialog-m-padding: 14px;
  --container-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 0;
}

#app.sassMgmt .el-overlay-dialog .el-dialog__header {
  line-height: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: var(--el-dialog-m-padding) 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcdfe6;
  box-shadow: var(--container-box-shadow);
}

/* .el-dialog */
#app.sassMgmt .el-dialog__header-title {
  margin-left: var(--el-dialog-m-padding);
}

/* .el-dialog */
#app.sassMgmt .el-dialog__headerbtn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

#app.sassMgmt .el-dialog__body {
  padding: var(--el-dialog-l-padding);
}

#app.sassMgmt .el-dialog__footer {
  padding: var(--el-dialog-l-padding);
  padding-top: 0;
}

#app.sassMgmt .el-overlay-dialog {
  position: fixed !important;
}

/* el-table */
#app.sassMgmt .el-table th.el-table__cell {
  color: #333;
  font-size: 14px;
}

/* 定义高亮行的样式 */
#app.sassMgmt .el-table .el-table__row.highlight-row {
  background-color: var(--background-color) !important;
  color: var(--sass-color-blue);
}

#app.sassMgmt .el-table tbody tr:hover>td {
  /* color: var(--color-cheng) !important; */
}

#app.sassMgmt .el-table .padding0 .cell {
  padding: 0 !important;
}

#app.sassMgmt .my-el-drawer .el-drawer__header {
  margin-bottom: 0;
}
</style>